package com.decent.ejfadmin.finance.response.dto;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author weicx
 * @date 2018/08/13
 */
@Data
public class SupplyDailySheetDto {
    /**
     * 自增id
     */
    private Long id;
    /**
     * 会员id
     */
    private Long userId;
    /**
     * 会员编号
     */
    private String userAccount;
    /**
     * 会员名称
     */
    private String userName;
    /**
     * 日期
     */
    private String startTime;
    /**
     * 期初余额
     */
    private BigDecimal beginBalance = new BigDecimal(0);
    /**
     * 提现金额
     */
    private BigDecimal withdrawMoney = new BigDecimal(0);
    /**
     * 提现银行卡金额
     */
    private BigDecimal withdrawBankMoney = new BigDecimal(0);
    /**
     * 补结金额(三网+虚商)
     */
    private BigDecimal fixMoney = new BigDecimal(0);
    /**
     * 补结金额(加油卡)
     */
    private BigDecimal fixFuelMoney = new BigDecimal(0);
    /**
     * 期末余额
     */
    private BigDecimal endBalance = new BigDecimal(0);
    /**
     * 入账金额
     */
    private BigDecimal entryMoney = new BigDecimal(0);
    /**
     * 汇总金额
     */
    private BigDecimal summaryMoney = new BigDecimal(0);
    /**
     * 差额
     */
    private BigDecimal defference = new BigDecimal(0);
    /**
     * 汇总面值
     */
    private BigDecimal summaryFace = new BigDecimal(0);
    /**
     * 移动成功面值
     */
    private BigDecimal mobileSuccessFace = new BigDecimal(0);
    /**
     * 联通成功面值
     */
    private BigDecimal unicomSuccessFace = new BigDecimal(0);
    /**
     * 电信成功面值
     */
    private BigDecimal telecomSuccessFace = new BigDecimal(0);
    /**
     * 虚商成功面值
     */
    private BigDecimal virtualSuccessFace = new BigDecimal(0);
    /**
     * 加油卡成功面值
     */
    private BigDecimal fuelSuccessFace = new BigDecimal(0);
    /**
     * 权益成功面值
     */
    private BigDecimal equitySuccessFace = new BigDecimal(0);
    /**
     * Q币成功面值
     */
    private BigDecimal qbSuccessFace = new BigDecimal(0);
     /**
     * 移动入账金额
     */
    private BigDecimal mobileEntryMoney = new BigDecimal(0);
    /**
     * 联通入账金额
     */
    private BigDecimal unicomEntryMoney = new BigDecimal(0);
    /**
     * 电信入账金额
     */
    private BigDecimal telecomEntryMoney = new BigDecimal(0);
    /**
     * 虚商入账金额
     */
    private BigDecimal virtualEntryMoney = new BigDecimal(0);
    /**
     * 加油卡入账金额
     */
    private BigDecimal fuelEntryMoney = new BigDecimal(0);
    /**
     * 权益入账金额
     */
    private BigDecimal equityMoney = new BigDecimal(0);
    /**
     * Q币入账金额
     */
    private BigDecimal qbEntryMoney = new BigDecimal(0);
    /**
     * 返佣
     */
    private BigDecimal rebate = new BigDecimal(0);
    /**
     * 手动退款
     */
    private BigDecimal manualRefund = new BigDecimal(0);
    /**
     * 推荐返利
     */
    private BigDecimal recommendRebate = new BigDecimal(0);
    /**
     * 提现手续费
     */
    private BigDecimal servicePrice = new BigDecimal(0);
    /**
     * 易服务汇总金额
     */
    private BigDecimal easyServerMoney = new BigDecimal(0);
    /**
     * 易缴费汇总金额
     */
    private BigDecimal ejfMoney = new BigDecimal(0);
    /**
     * 权益补结金额
     */
    private BigDecimal fixEquityMoney = new BigDecimal(0);

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder(100);
        sb.append("=\"").append(getStartTime()).append("\"");
        sb.append(",=\"").append(getUserAccount()).append("\"");
        sb.append(",=\"").append(getUserName()).append("\"");
        sb.append(",").append(getBeginBalance());
        sb.append(",").append(getEndBalance());
        sb.append(",").append(getDefference());
        sb.append(",").append(getWithdrawMoney());
        sb.append(",").append(getWithdrawBankMoney());
        sb.append(",").append(getServicePrice());
        sb.append(",").append(getMobileEntryMoney());
        sb.append(",").append(getUnicomEntryMoney());
        sb.append(",").append(getTelecomEntryMoney());
        sb.append(",").append(getEntryMoney());
        sb.append(",").append(getMobileSuccessFace());
        sb.append(",").append(getUnicomSuccessFace());
        sb.append(",").append(getTelecomSuccessFace());
        sb.append(",").append(getSummaryFace());
        sb.append(",").append(getFixMoney());
        sb.append(",").append(getManualRefund());
        sb.append(",").append(getRebate());
        sb.append("\r\n");
        return sb.toString();
    }

}
